﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace Com.CMS263.Util
{
    public static class LogUtil
    {
        public static log4net.ILog log = log4net.LogManager.GetLogger(typeof(LogUtil));
        public static void WriteErrorLog(string msg,Exception ex)
        {
            
            log.Error(msg, ex);
          
        }
        public static void WriteInfoLog(string msg)
        {
           log.Info(msg);
        }

    }
}
